package com.euq.service;

import com.euq.entity.Dept;
import com.euq.node.DeptNode;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DeptService {
    List<DeptNode> getDeptTree();
    Dept insert(String simpleName,String fullName,Integer num,Long pid);
    Dept update(Dept dept);
    Object deleteById(Long id);
}
